﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="luoxuan.aspx.cs" Inherits="myproject.luoxuan" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body style="width:2000px;text-align:center">
    <form id="form1" runat="server">
        <h1>three zero eight dormitory </h1>
        <div style="width:1000px;margin:0px auto">
           <style>
                th{
                    width:200px;
                    text-align:center;
                }
            </style>
            <asp:GridView ID="gv2" runat="server"
                OnRowCancelingEdit="gv2_RowCancelingEdit" 
                OnRowDeleting="gv2_RowDeleting" 
                OnRowEditing="gv2_RowEditing"
                OnRowUpdating="gv2_RowUpdating" AutoGenerateColumns="false">
                <Columns>
                    <asp:BoundField DataField="Id" HeaderText ="ID" />
                    <asp:BoundField DataField="Name" HeaderText ="名字" />
                    <asp:BoundField DataField="Address" HeaderText ="地址" />
                    <asp:BoundField DataField="Remarks" HeaderText ="备注" />
                    <asp:CommandField ShowCancelButton="true" 
                        ShowEditButton="true"
                        ShowDeleteButton="true"
                        HeaderText="操作流" />
                </Columns>
            </asp:GridView>
            <asp:Button Text="加人" runat="server" ID="AddMan" OnClick="AddMan_Click" />
        </div>
    </form>
</body>
</html>
